package com.verify.emun;

public enum UT {
    YES("是"),
    NO("否");
    private final String name;

    UT(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public static boolean contains(String value) {
        for (UT type : UT.values()) {
            if (type.getName().equals(value)) {
                return true;
            }
        }
        return false;
    }
}
